import store from '@/store/index'
export default {
    methods:{
        assignPerm(type){
            const res = store.state.user.userInfo.points
            return res.indexOf(type) !== -1
        }
    }
}